package com.itheima.reader;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class Demo03 {
    public static void main(String[] args) throws IOException {

        //关于字符输出流
        File file1 = new File("20240417\\c.txt");
        FileWriter fw = new FileWriter(file1);

        //fw.write(97);
      //  fw.write('b');
        fw.write('c');
        fw.write(30000);
        fw.write("chen");
         fw.flush();

       // fw.close();

    }
}
